//
//  MenuSettingLayer.cpp
//  Jump
//
//  Created by Zach Wang on 14-5-22.
//
//

#include "MenuSettingLayer.h"

USING_NS_CC;

bool MenuSettingLayer::init(){
    if ( !Layer::init() )
    {
        return false;
    }
    
    Size visibleSize = Director::getInstance()->getVisibleSize();
    Point origin = Director::getInstance()->getVisibleOrigin();
    
    SpriteFrameCache* cache = SpriteFrameCache::getInstance();
    cache->addSpriteFramesWithFile("icons.plist", "icons.png");
    
    Sprite* appStoreSprite = Sprite::createWithSpriteFrameName("10.png");
    appStoreSprite->setPosition(Point(visibleSize.width/2,visibleSize.height/2));
    this->addChild(appStoreSprite);
    
    return true;
}
